package com.example.boot.user.dao;

import com.example.boot.user.entity.UserInfoEntity;

public interface UserInfoDao {
	/**
	 * 添加用户信息
	 * @param user
	 * @throws Exception
	 */
	public int  addUserInfo(UserInfoEntity user) throws Exception;
	
	/**
	 * 根据名称查找用户
	 * @param name
	 * @return
	 * @throws Exception
	 */
	public UserInfoEntity byNameFindUser(String name)throws Exception;
	
	
}
